package com.nhjf.client.response;

/**
 * api请求的基类
 * 
 * @author yuxx
 * 
 */
public class OpenResponse {
	/**
	 * 请求是否处理成功，处理失败指服务端系统异常
	 */
	private Boolean success;
	/**
	 * 返回结果代码
	 */
	private String resultCode = RESULT_CODE_OK;
	/**
	 * 返回结果文字提示
	 */
	private String message;
	
	/**
	 * 正常
	 */
	public final static String RESULT_CODE_OK = "1";
	/**
	 * 服务器错误
	 */
	public final static String RESULT_CODE_ERROR = "500";
	
	public Boolean getSuccess() {
		return success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
